 |
|
|
|
|
On Error Resume Next |
|
|
|
| |
 |
|
|
|
|
Resume Next in the Error Label |
|
|
|
| |
 |
|
|
|
|
Resume LabelName |
|
|
|
| |
 |
|
|
|
|
Resume |
|
|
|
| |
 |
|
|
|
|
Fix and Resume |
|
|
|
| |
 |
|
|
|
|
Errors in the Call Stack |
|
|
|
| |
 |
|
|
|
|
Turning Error Handling Off |
|
|
|
| |
 |
|
|
|
|
Creating a Global Error Handler |
|
|
|
| |
 |
|
|
|
|
Summary |
|
|
|
| |
 |
|
|
|
|
Review Questions |
|
|
|
| |
 |
|
|
|
|
Exercises |
|
|
|
| |
|
|
|
|
|
18
IDE and Editor Tips and Tricks |
|
|
|
| |
 |
|
|
|
|
Using the Code Editor |
|
|
|
| |
 |
|
|
|
|
Find Text |
|
|
|
| |
 |
|
|
|
|
Search and Replace |
|
|
|
| |
 |
|
|
|
|
Editing with a Split Screen |
|
|
|
| |
 |
|
|
|
|
Moving to the Next/Previous Procedure |
|
|
|
| |
 |
|
|
|
|
Jumping to a Procedure Definition |
|
|
|
| |
 |
|
|
|
|
Using a Block Indent |
|
|
|
| |
 |
|
|
|
|
Using a Block Comment |
|
|
|
| |
 |
|
|
|
|
Viewing All Properties/Procedures |
|
|
|
| |
 |
|
|
|
|
Using Full Module View |
|
|
|
| |
 |
|
|
|
|
Tabbing Between Windows |
|
|
|
| |
 |
|
|
|
|
Creating New Procedures and Functions Quickly |
|
|
|
| |
 |
|
|
|
|
Using Bookmarks |
|
|
|
| |
 |
|
|
|
|
Form Editing Tips and Tricks |
|
|
|
| |
 |
|
|
|
|
Setting the Font Property |
|
|
|
| |
 |
|
|
|
|
Setting the TabIndex Property |
|
|
|
| |
 |
|
|
|
|
Marking Groups of Controls |
|
|
|
| |
 |
|
|
|
|
Marking Groups of Controls on a Container |
|
|
|
| |
 |
|
|
|
|
Using a Property Window Trick |
|
|
|
| |
 |
|
|
|
|
Using Toggle Properties |
|
|
|
| |
 |
|
|
|
|
Creating More Than One Control |
|
|
|
| |
 |
|
|
|
|
Moving and Sizing Controls |
|
|
|
| |
 |
|
|
|
|
Formatting Controls |
|
|
|
| |
 |
|
|
|
|
Changing the IDE |
|
|
|
| |
 |
|
|
|
|
Docking |
|
|
|
| |
 |
|
|
|
|
SDI Development Environment |
|
|
|
| |
 |
|
|
|
|
Toolbars |
|
|
|
| |
 |
|
|
|
|
Customizing Toolbars |
|
|
|
| |
 |
|
|
|
|
Add-Ins |
|
|
|
| |
 |
|
|
|
|
Toolbox Tricks |
|
|
|
| |
 |
|
|
|
|
Creating Templates |
|
|
|
| |
 |
|
|
|
|
Summary |
|
|
|
| |
 |
|
|
|
|
Review Questions |
|
|
|
| |
 |
|
|
|
|
Exercises |
|
|
|
| |
|
|
|
|
|
Part II
Intermediate Visual Basic |
|
|
|
| |
|
|
|
|
|
19
Object-based Programming |
|
|
|
| |
 |
|
|
|
|
Defining Object-based Programming |
|
|
|
| |
 |
|
|
|
|
OOP Terminology |
|
|
|
| |
 |
|
|
|
|
Class |
|
|
|
| |
 |
|
|
|
|
Object |
|
|
|
| |
 |
|
|
|
|
Differences Between Classes and Objects |
|
|
|
| |
 |
|
|
|
|
Instantiation |
|
|
|
| |
 |
|
|
|
|
Properties |
|
|
|
| |
 |
|
|
|
|
Methods |
|
|
|
| |
 |
|
|
|
|
Encapsulation |
|
|
|
| |
 |
|
|
|
|
Polymorphism |
|
|
|
| |
 |
|
|
|
|
Constructors |
|
|
|
| |
 |
|
|
|
|
Destructors |
|
|
|
| |
 |
|
|
|
|
Object-based Coding Versus Procedural Coding |
|
|
|
| |
 |
|
|
|
|
Procedural Data Usage |
|
|
|
| |
 |
|
|
|
|
OOPs Data Usage |
|
|
|
| |
 |
|
|
|
|
Function/Method Naming |
|
|
|
| |
 |
|
|
|
|
Staying Consistent |
|
|
|
| |
 |
|
|
|
|
Converting to Object-based Programming |
|
|
|
| |
 |
|
|
|
|
Converting Existing Projects |
|
|
|
| |
 |
|
|
|
|
Replacing User-defined Types |
|
|
|
| |
 |
|
|
|
|
Making Form Properties |
|
|
|
| |